package com.ipay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ipay.dao.CheckingDao;
import com.ipay.entity.CheckingEntity;
import com.ipay.service.CheckingService;



@Service("checkingService")
public class CheckingServiceImpl implements CheckingService {
	@Autowired
	private CheckingDao checkingDao;
	
	@Override
	public CheckingEntity queryObject(String id){
		return checkingDao.queryObject(id);
	}
	
	@Override
	public List<CheckingEntity> queryList(Map<String, Object> map){
		return checkingDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return checkingDao.queryTotal(map);
	}
	
	@Override
	public void save(CheckingEntity checking){
		checkingDao.save(checking);
	}
	
	@Override
	public void update(CheckingEntity checking){
		checkingDao.update(checking);
	}
	
	@Override
	public void delete(String id){
		checkingDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		checkingDao.deleteBatch(ids);
	}
	
}
